fix typos in variable names