A plate package for a heat exchanger device, the plate package comprising a plurality of heat exchanger plates of a first type and a plurality of heat exchanger plates of a second type arranged alternatingly in the plate package one on top of the other, wherein at least the heat exchanger plates of the first type 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 (103, 104), 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 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, 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 as seen in a direction transverse the shortest distance, being 200-80% of the diameter of the upper porthole and more preferred 180-120% of the diameter of the upper porthole, wherein the upper flanges of the heat exchanger plates of the first type 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 overlaps an upper flange of a second subsequent heat exchanger plate of the first type. 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 (103, 104), 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 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, 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 as seen in a direction transverse the shortest distance, being 200-80% of the diameter of the upper porthole and more preferred 180-120% of the diameter of the upper porthole, wherein the upper flanges of the heat exchanger plates of the first type 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 overlaps an upper flange of a second subsequent heat exchanger plate of the first type.