Fix to wrong variable name