Influence of oxygen and carbon on performance of superpermeable membranes