make the remove fields into a method of the dynamicFields object