fix stupid bug in exampleRun1d