loglib: fix td numbering