fix bug at stack overlflow at android synthesis client