fix(run_modes)

@taipsedog Please review