fixed crash when CFStringRef is null