fix xpath article enhancer encoding bugs