fixes for RelationshipsViewer