fix plotted chart