Fixed setvirtualfield() issue