fix cookie delimiter issue