fixed issue with cancel also changing cookies

issue