fixing links to posts