fixed bug related to viewing video