cleaning up node's shit