adjust remove method, make it run in container removing process