client.go fix possible shadowing error