feature #2371: fix bugs in CLI table renderer