The moisture from both the butter and the molasses can cause these cookies to spread. You can increase the flour if your dough is too flat. I have found that using a higher fat European butter does lead to a flatter cookie in this recipe.