fixed problem with network's ode solve method