remove bad relationships