fix the stop from running the simulation when stdse cannot be computed