correct pylint errors