removing unnecessary routes