ValueError means wrong cookie format
optimized class name