add king prof errors to output file