convolution bug fix