fix model relation