fix dynamic attribute setting move to recipe.