fix bad var