fix client interface to  support go1.3