remove unused imports, fixed typo