fixing pylint errror created by edits