fixed bug with relationships in drag