flake8 and correct typo.