corrected wrong variable name