fixed a pagination permalinks