Fixing line numbers when no chunk present