corrected TwoWayJoin