After spinal anesthesia, 30% of the patient develops spinal headache. This is due to: