fixed bug where title of post was printed twice