Thks, I have tried your replacement code but it generate a pdf with only the header and no news inside.