Truth be told, there's no real way to avoid this. The heat from the oven is what causes the candies to sometimes crack, and we can't lower the heat in this recipe. However, even cracked, these M&M cookies will still be delicious.