bug fix and pep8