Improve the grammaticallity of the following sentence
However, the reactor used in fact lacked some basic engineering provisions for safety, probably due to technological constrains at that time.
However, the reactor used, in fact, lacked some basic engineering provisions for safety, probably due to technological constraints at that time.