fixing pep8 and pylint recomendations