set line to [] when index >= start
0.1.2