catch more errors, pep8