fix bug: minor typo (hg instead of g)