edited style for error messages