remove node dependences