address some pylint issues