fix momentary errors on plots and fitting tab