fixed issue with locale