fixed pylint violations