fixed problem for tdt analysis ni analyse_ectestrecord