fix typos in warning message