minor fix to reset partRun value - #297
minor refactoring - #297