fixed unnecessary casting in LowPassFilter