move remnant uniitialized pointers to nullptr