Remove the duplicated lines