fix cookie settings