fix url relocate bug