fix examples to make test results stable