Delete unneeded formulas