remove tabs from media