fix two issues: new webview crash & failed download can't continue