fix embedded models