fixed examples encoding