fix plotting for curve fit