fix uninitialized properties