fixes convolution bug