The optical properties of InGaAsN QW grown on AlGaAs/GaAs cladding layers were investigated. Al contamination in the quantum well due to the memory effect is responsible for the degradation of optical quality. We propose a growth method to reduce the Al c