fix bugs with switching run_from_argv to parsing args