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

@deiferni 
We've just talked about this.