add null checks in OKBridge for initWithCString and repalced to initWithUTF8string