fix image client bug