fix publishing
revert after test
pdf generation tweaks