added req.lastError for asyncIf, mwIf