revert class