doc: fix confusing examples