remove each_function helper