fixed permalinks to posts