fix locality