a method of immobilizing a contaminant within a component includes identifying the contaminate ; and thermally processing the component via a specific thermal cycle related to the contaminate . a method of repairing a component includes immobilizing a contaminant within the component ; and weld repairing the component subsequent to immobilizing the contaminant . an aerospace component includes a honeycomb structure with a thermally decomposed contaminate and a weld repair .