client: fix error in logging output