Fix errors in variable names