improve lineinfo