fix bug of webview delegate