flush lns, fixes #39