fixed region grid bug