magnet repair