fixed: bad variable declaration