Fixed an error in edit videos.