A composition that comprises thioglycerol or thioanisole and a peptide of 9 to 25 amino acids that has a cysteine residue and a T cell epitope. The thioglycerol and thioanisole are used to prevent dimer formation of the peptide in the composition. The peptides can be allergen antigens or autoimmune disease antigens and used to treat allergies or autoimmune diseases.