added video generation fixed