fix indentation and unused imports