fix an uninitialized variable