Fixed method that removes default language from URL