revert an old change in pigengine and clean out the piglets