fix TS errors + send message to worker
whatever