fixing routing for deployment