remove threadpool; fix _set_cube name bug