fix uninitialized memory bug in TParameter::copy