some pylint fixes