fixed the undefined option.language