fix locale setting