cookie bug fixed