correct the invalid default state of a empty range