The machine doesn't need to be fixed. The boy does.
Sorry, but a preventable death occurred.. regardless of who and how she was put in the machine, the fact is the machine could not be stopped or opened... in spite of knowlege of her being in there and attempts to get her out. That is a design issue that needs to be addressed.
Just as we now have latch release levers mandated in trunks of automobiles and no longer have latching residential refrigerators.