Fixed use of uninitialized variable