fix genHMass