removing unused columns with duplicate names