removing duplicate fields