Fix locale regression