clean up some pylint warnings