Please check this part of the documentation
https://jsreport.net/learn/pdf-utils#operations-order

You are merging the header twice.