Fix uninitialized pointer