fixed cookie bug

fixed bug that cookie was used at one page