remove unused imports, fix typo