a few other small crash fix just introduced
More check and move to GPU the symbolic input if needed.