fix sample run