fix GreenTeaConsts
convert code