Fix bug with locale #211