node deregisters itself when deleted