should fix bad variable