fixed session init pep8