fixed the client