fix add purifier dialog error