improved styles for error messages with autocompletes, see #277