fixed bug with zero cookies split failure.