fixed duplicate relationship