Fixed a problem with rpc
Another function