Fixing issue with getting the default language