fix pep8 errors
add some forgotten fields