fix bugs for dns proxy plugins