Fix normalization for local entities.