fixing names for local blocks