Adding a sufficient amount of fats ensures you don't face this problem, also make sure you are not over mixing/baking. Make sure you cool them down for at least 1 hour.