fix router problem in urls