added checks to fitter and helped fix some printing issues