fix bug of GlowExample