Fix Program bug for android