fix possible use of uninitialized value in previous commit