various pylint fixes