fixes wrong variable name