fix tryAndRun