fix nullpointer using classic webview