Fix in crosskernel and adding demo