I also had this problem. I couldn’t get the rusty magnet out, but found an easier solution. I used a round metal magnet with a hook, removed the hook, and then screwed the magnet and metal housing under the part of the machine that detects the magnet (the ‘ridge’ that protrudes out under the dripper). I found that putting the magnet as far back as possible (at the elbow) works the best; if it’s closer to the basket it doesn’t work. Works perfectly and the magnet doesn’t look ugly; can barely notice it’s there.