fix command line argument bug