Fix routes and show layout.