fix outputs in sim (used to take integrator output not outputs0 output)