Merge pull request #202 from felixtrz/anchors-sample-fix

fix anchor sample: anchor creation timing