fixing rpcclient problem