find the problem of multi threads