Fix uninitialized bug.