fix webview crash bug