Fix problem of different styles in error messages and inline error messages

@deiferni 
We just talked about this.