replace embed values by constants 2