Fix delete bug

when using del recursively, no need to add the line_num since we have
already deleted one line.