fix for when no cookies