fix mtthread.c