giza: fix image cleaning