cleaning up bash_hg