remove redundent