add hook for proxy filter