delete useless code + fix lang flag