fix the hets formula.