router fixes for params