fixing remove relationships