fix uninitialized memory use
no need to dup here