Fix removal bug.