lib/tl: simplify