fix one main-thread run error