Die vorliegenden Erfindung umfasst eine Vorrichtung zur Behandlung einer medizinischen Flüssigkeit, welche eine Behandlungsmaschine mit einer Ankoppelfläche und einer auf der Ankoppelfläche angeordneten flexiblen Matte, insbesondere einer Silikonmatte umfasst, wobei eine Kassette aus einem Hartteil mit flüssigkeitsführenden Kanälen, welche von einer flexiblen Folie abgedeckt sind, über die flexible Matte an die Ankoppelfläche der Behandlungsmaschine ankoppelbar ist. Dabei ist vorgesehen, dass während des Ankoppelvorgangs und/oder bei angekoppelter Kassette Luft entlang einer Ebene zwischen der flexiblen Folie und der der flexiblen Folie zugewandten Oberfläche der flexiblen Matte absaugbar ist, wobei die Absaugung über eine oder mehrere im Hartteil der Kassette angeordnete Absaugöffnungen erfolgt. Die vorliegende Erfindung umfasst weiterhin eine entsprechende Kassette mit mindestens einer im Hartteil der Kassette angeordneten Absaugöffnung.The present invention comprises a device for the treatment of a medical fluid which comprises a treatment machine with a coupling surface and a flexible mat arranged on the coupling surface, in particular a silicone mat, wherein a cartridge consists of a hard part with fluid-conducting channels which are covered by a flexible foil. can be coupled via the flexible mat to the coupling surface of the treatment machine. It is provided that during the Ankoppelvorgangs and / or coupled cassette air along a plane between the flexible film and the flexible film facing surface of the flexible mat is sucked, wherein the suction via one or more arranged in the hard part of the cassette suction. The present invention further comprises a corresponding cassette with at least one suction opening arranged in the hard part of the cassette.