Self induced mismatching effects in harmonic generation with ultrashort laser pulses