Formulas calculation and forms localization bug fixing