adjust error reporting format