remove unused code, fix typo