fix typo in log.warn