add styling to error messages