correct a bunch of misnomers in the localization code