adjust cd form and remove field duplicates