fixed messed up relation