pep8 fixes and change of use of stricts