fixing a wrong variable name