fix bad variable