fix of ts reference