fixing embed in dg