fix wrtie_secrets recipe