models fixes relations