Bug with zero cookies fixed