fixed bug with getting eager loaded relationships