revert hmm