Fix for regional settings problem