fix routing for navigation