Signed-off-by: ksfifa <ksfifa2004@163.com> fix cookie bug