fix for total line