removed bug in processing relationship statements

each relationship should be on its own.