Fixed use of uninitialized memory