changed pop and shift filters to proxies ruby calls see #2892