fixed an assembly input_as_output invalidation issue