cleaned up hinge constraint