fix routes to work in development