A plate package for a heat exchanger device, the plate package comprising a plurality of heat exchanger plates of a first type (A) and a plurality of heat exchanger plates of a second type (B) arranged alternatingly in the plate package one on top of the other, wherein at least the heat exchanger plates of the first type (A) each having: a geometrical main extension plane (q) and a circumferential edge portion , the circumferential edge portion having a curved upper portion , a substantially straight lower portion and two opposing side portions interconnecting the upper and the lower portions , and an upper porthole arranged in an upper section of the heat exchanger plate and located at a distance from the upper portion of the circumferential edge portion thereby defining an upper intermediate portion located between the upper portion of the circumferential edge portion and a circumferential edge of the upper porthole , the upper intermediate portion including the shortest distance (d2) between a centre of the upper porthole and the upper portion of the circumferential edge portion , characterized in that the heat exchanger plate of the first type (A), along at least a section of the upper intermediate portion , further comprises an upper flange having an extension along the upper portion of the circumferential edge portion and extending from the circumferential edge portion in direction from the geometrical main extension plane (q), wherein the upper flange has a length (L2) as seen in a direction transverse the shortest distance (d2), being 200-80% of the diameter (D2) of the upper porthole and more preferred 180-120% of the diameter (D2) of the upper porthole , wherein the upper flanges of the heat exchanger plates of the first type (A) are oriented in one and the same direction, and have an extension with a component along a normal to the main extension plane (q) such that an upper flange of a heat exchanger plate of the first type (A) overlaps an upper flange of a second subsequent heat exchanger plate of the first type (A). a geometrical main extension plane (q) and a circumferential edge portion , the circumferential edge portion having a curved upper portion , a substantially straight lower portion and two opposing side portions interconnecting the upper and the lower portions , and an upper porthole arranged in an upper section of the heat exchanger plate and located at a distance from the upper portion of the circumferential edge portion thereby defining an upper intermediate portion located between the upper portion of the circumferential edge portion and a circumferential edge of the upper porthole , the upper intermediate portion including the shortest distance (d2) between a centre of the upper porthole and the upper portion of the circumferential edge portion , characterized in that the heat exchanger plate of the first type (A), along at least a section of the upper intermediate portion , further comprises an upper flange having an extension along the upper portion of the circumferential edge portion and extending from the circumferential edge portion in direction from the geometrical main extension plane (q), wherein the upper flange has a length (L2) as seen in a direction transverse the shortest distance (d2), being 200-80% of the diameter (D2) of the upper porthole and more preferred 180-120% of the diameter (D2) of the upper porthole , wherein the upper flanges of the heat exchanger plates of the first type (A) are oriented in one and the same direction, and have an extension with a component along a normal to the main extension plane (q) such that an upper flange of a heat exchanger plate of the first type (A) overlaps an upper flange of a second subsequent heat exchanger plate of the first type (A). <EOS>