Fix addition in formulas