corrected old var