simplifies object code by deleting embed tag