fix client and method params problem
Merge pull request #151 from kgribov/master

fix client and method params problem