revert the code