small fix in timestamp gen (tsr_tmp)