fmt: handle zero line length