fix pep8 violations
fix some pylint violations