Fixed error messages in plotter module