tried to fix a cookie decoding exception