fixes uninitialized array dcreate