Fix "undefined" error when lang=t