recursive filter output corrected