Fixed engine.get_outputs