changed pop and shift filters to proxies ruby calls see #2892 (take 2)