The hand switch to release a x-ray image at the patient table is equipped with a cable extension inside the table. A problem may occur if the connection between cable connection and hand switch is contaminated with an extraordinary large amount of fluid. In a worst case situation, uncontrolled release of a x-ray image may happen. If this situation occurs, the system terminates uncontrolled x-ray after a short period.