Fixed Crash when the scope string is NSNull