cookie core replace