fixed lazy loading issue with agreement types