modify subtle things to comply with pep8