remove redundent routes