fix image errors