Update hg.php

fixed var names