Cookie fix for mono