handle relations removal