Gaussian filter fix