corrected root var