bug fix: inference_X for add kernel