Videos edit debug fix