Bugfix in embed