[debugallocator]
fix global extern variable