fixed uninitialized variable.