fixed remove() and remove_all() destructer