resource deletion issue fixed