fix removing node at the correct time