[examples] minor fixes