fixed invalid variable names