fix bug
fix bug with array_merge(). data was skipped when an empty field was
filled and another field was changed at the same time.