fix typos in warning