fix typo, add default logs.