fixed flicker demo