fix image destroy