Debug and change the router