Changed the format of error messages