client: fix debugging