fix next_filter