fix flash animate