markup fix after video insertion