bug fix: cookie dont delete after destroy