fixed bug in ClientController.java