fix the err: calculating thread id, info: can't compile script