fix bug in exampleRun