some little changes for pep8

No changes in the logic.