remove redundent URLs