fixed typo in hgrad.