fix typos in messages leading to undefined references