remove routes for devices