minor pylint errors