work on errors from error log