remove left overs during revert