fixed cookie stuffs