remove unnecessary routes