remove useless import and change indentation according to pep8