fix uninitialized POD member data bug