remove some pylint warnings