fixed command line argument bug