Fix: Variable typo. 'g' should be 'h'.