revert counter