fix broken permalinks and undefined controversiality