fix Null Exception when webview opening