remove duplicate fields