fixed pep8 issues with Level