corrected line number mapping