fixed select_field helper to be nondestructive