Fixes issue when calling getURLLanguage