remove hg state