removes unneccessary root line from routes