fixes for fetching association data in case of relational entity