fix cookie beug