fixed text and named flow in basic sample