compatibility with the latest version of embed