minor tweak to cube fitter