fix wrong variable name