fix unsetting field