fix bug introduced in pep8 cleanup