fixing pylint violations