reformatted error messages