fixed a bug rendering narratives for XML resources