fix loading relations