removing duplicate data