use id instead of index to make permalinks