fixes PR #20 when using randomly generated run ids (better patch by @slava-vishnyakov)
Merge pull request #29 from robocoder/patch-2

fixes PR #20 when using randomly generated run ids