another fix for non existing hg :/