fixed rang grid bug