update warning; fix typo