corrected var total