fixed issues in runner found by code review