some minor pylint fixes