fix copyFields