Repair the bug caused by line with empty content