minor fixes to error reporting language