fix bug about video array