fix wrong variable