fixed a wrong variable name