fixed argparse None type bug