fixed plot-fit consistency bug