locals to field vars