Fix incorrect variable names.