cupid: fix h1 and h2 in alerts and panels