fix image duplication