add missing global $purifier