fixed a bug where the array of relationship_types was displayed