remove logging, fix typo