Fixed some basic error messages