extra: type bug handling empty states in reset_struct_members()