fix uninitialized value