A defective Metal-Organic Frameworks as an improved material for the construction of a fixed-bed system working under continuous flow conditions for the removal of the emerging contaminant atenolol.