fix client and method params problem