fix lang conditions