- fixed cookie bug