refactor exit() if parse_args failed