avoid use of uninitialized variable