Fixed bug in Client.java