fixed a typo and unused imports