pep8/pylint violations fixes