replace Average with url