fixed the ClientController