fixing a bug, which caused arabic to be picked as default language