bug fix for deleting device nodes
bug fix for deleting device nodes