clean up disabled code in Range