Fix some formulas