fix pep8 + fix view entries