wrong variable name fixed