Remove previous route matching
Serialize routes