changed cookie format