Fixed a bug that cause videos to not remove properly