fixed readRelation