Agent for treating keratin-containing fibers, particularly human hair, comprising, in a cosmetically acceptable carrier, (a) at least one nonionic starch modified with propylene oxide, and (b) at least one additional nonionic film-forming and/or nonionic setting polymer containing at least one structural unit chosen from the structural units of formulae (M1) to (M6), wherein R is a hydrogen atom or a methyl group, R is a hydrogen atom or a (C1 to C4) acyl group, R and R are, mutually independently, a (C1 to C7) alkyl group or a hydrogen atom, R is a linear or branched (C1 to C4) alkyl group or a (C2 to C4) hydroxyalkyl group use of the agents for temporary deformation of hair and for hair care, particularly as an aerosol hair spray or aerosol hair foam.