revert optimization count