fixing the next set of errors from error log