removed flake8 on write