Revert "range patch"

This reverts commit b2d647f436aebd680c8d2dd55048abe381c5f868.
revert