fixed the mapping of line numbers to traces