fixed multi-input join (thx, Boris) --flo