fix relationship