fix locality.