fix return value compilation error in webview