fixed bug with embeds