PHPWord template processor clone block cannot replace macros in footer

  php, phpword

Im using PHPWord v0.17 and facing some issue with cloneblock feature. I can replace the whole variable in the template with macro ( ${var#1} ), except the variable that i set in the footer area. I can set their value without macro but it will generate the same value for the next page

Source: Ask PHP