Fix initial url problem