fix cookie expiration