retry fix for permalinks