hinge and motor fixes