fixed video loop error