Fix rember cookie bug