reset params before each route match