fix new routes and libraries