restrict error classes in sections to legends