fix matching hatnotes below sections