Fixed some errors in ArgParser