The butter was probably too warm when you baked the cookies. This is why I recommend resting the dough in the fridge for 30 minutes before baking.