fix image not found problem and iconv problem