fixing relationships