removed unused currentFilter