fix bug on accessing a line beyond the current length, prepare for 0.07 release