Add a log and fix typo.