$h was defined in global scope, in one my experiment it overridden my actually intended global variable.