An innovative method to introduce magnetism into demulsifier