object removal bug fixed