fix image adopt bug