fixing for pylint and pep8 recommendatins