Stale cookie fix