fixed: issue with duplicate permalinks, now gives a warning