fix problem in+out block ("in" "out" was opposite)