fix multiThread