fix uninitialized locals

Found these while perusing the code.