Fix copying of ReferenceField
Fix version