There are a number of reasons your cookies can spread, but the most common reason is that there's not enough flour. Be sure to weigh your flour when making these cookies. It could also be that the butter was too soft or too much baking soda was used.