fixed command line parsing error