Cookies spread because the fat in the cookie dough melts in the oven. If there isn't enough flour to hold that melted fat, the cookies will over-spread. Spoon and level that flour or, better yet, weigh your flour. If your cookies are still spreading, add an extra 2 Tablespoons of flour to the cookie dough.