bug with routeParams