remove the duplicated text