fix for the webview crash