refactor compile-filter-fn & compile-bind-fn, update occurences