fix invalid variable names