pass url correctly