Corrected error messages