https://github.com/PHPOffice/PHPWord/issues/32

The same issue fixed for Footer.php