more pylint warnings fixed