log
fix error in thread pool