trying to eliminate segfault arising from destruction of initial conditions function parser