fixed getting agreement into Inq obj