video fixes in code