fix uninitialized member (thanks to Jose Aparicio)