fix routes and remove index