fix a potentially uninitialized variable