removed hgr and hgclean