fixed null issue for missing video tag