fix destroy callback after successfull deletion

Somehow the brackets for removeNode were missing in line 323.
That's why the function wasn't called.