remove unused imports and fixed typo
spaces