fixed error with url routing