rm  ts references