remove redundent print