fixed bug for video activity