Fixed an error caused by video plugin