bug fixed on RangeImpl.equals()