fixed uninitialed variable