fix mistake of variable name