If these cookies won't set it usually has to do with the peanut butter used. While I generally love, and choose, all-natural peanut butter I find that it isn't the best in this recipe. If it has too much oil it will interfere with the setting process. This is a recipe where using the processed peanut butter will work better.