fixed issue of canceling removal