fix deprecated filter call