solving the relationshipTypes issue