formatting error output