fixed MatKernel ref