The air fryer cooks so fast that the cookies don't have much time to spread. The outside will cook before the middle if you don't flatten them.