Fixed use of uninitialized value