Fixed a bug in processing parameters from command line.