fix for empty cookies