fixed cookie destroy