fix locale namespace