fix Range() read/write
fix mtest build
fix #19734