fix cheerio variable and task not iterating over all targets