Fix: avoid error with destroy cookie