Change locale to fix invalid locale exception