fix wrong variable bug