A:That usually happens when you start too late in the season and the weather gets too hot too soon. The only thing I can think of would be to start the seeds indoors a little sooner, or plant earlier in the season.
Of course everything with gardening depends on where you live and when you can actually put plants in the ground.