fix uninitialized values