delete some code, flake8 checked