Fixed issue with locale