fix formula and prepared