fixing relations