remove duplicated text