fix to reverseRelation