solved a fc problem caused by thread exits