fixed the bug when the region started at the point with data