fix error in tr_hlp