#235 ztrace ctor/dtor re-designed and fixed