fix image, threadpool bug