Aerosol contamination of clean gases in valves