fixing bug with set(language)