some fixes according pylint and pep8