small fix to avoid use of an uninitialized variable