Fix formulas output