bug when re-computing product kernels