fix flush screen timeout