fixed warning in ClientListener