fixed logger issue in Client