corrected bad variables name