embed: fix retrocompatibility