Save all relation types. fix