fixed build issue with multi-outs