fixed issues with FIR filter.