add rpc filter error handler