small bug when multiple fields are used and data was duplicated