Fixed removal of cookie