fix pep-8 violations
allow content type in search