fix problems with print<tuple> and multi_range