fix wrong variable naming