minor pylint fixes