fix ctx issue in runner