fix delay_chars_timer bug