fixed a bug with setting the live flag in the metadata (embed)