fix In/Out numbering (although issue #10 is still messing us up)