fixes for cropping formulas