An end effector assembly of a forceps includes a first jaw with a tissue sealing surface and an electrode on the sealing surface, and a second jaw with a tissue sealing surface and an electrode on the sealing surface. The first jaw and the second jaw move between an open position and a closed position. The sealing surface of at least one of the first jaw and the second jaw has a rigid medial section and flexible lateral sections.