removed bug in Client