handle parent link deleted error