How do I fix this door?

This door is extremely annoying, its hinge is at its side but it opens like the hinge is in the middle.

prop_door_rotating only works correctly when the origin of the model is on the edge if there is not another door like that with the origin on the edge use a nodraw func_door_rotating with the model door parented to it

thanks, parenting it fixed it!