slightly better truncation for table layout