setting lang and fixing label reference