fix bad variable names