fix the command line parsing error