fix a wrong variable