Remove unwanted magnetism from