add thread malloc, thr_create workd now!