fixing pylint messages error