Usually, if your cookies are spreading out more than is expected, this is because your butter was too soft. Butter should be placed out at room temperature for 24 hours to soften. Never microwave or melt butter because this can ruin the structure of your cookies. If your dough is really soft and you suspect your butter may have been too warm, try chilling your dough for at least 30 minutes before baking the cookies.