fixing routing bug