fixed semileptonic_model to work with current ROOT file