fixing routing error