error messages correcting