fix image read