restore correct route parameters