Fix line numbers for multiple errors