fixing pylint errors