fixed routeParams not found