fixed handling of the default language