solved the bug of communication between tt and jt