add fix for root memory leak reading vector<bool>