fix cookie handling