replace embed values by constants