The present invention relates to the use of a g ass container having a contact angle of more than about 10° for preventing glass fogging during freeze drying of a pharmaceutical composition. The pharmaceutical composition comprises a therapeutic agent and a surfactant. The respective glass container and a method for freeze drying the pharmaceutical composition are also disclosed.