fix to pass url