fix wrong relationship between model and models