fixed simple example after adding idempotence switch.