Fixed a bug in handling command-line arguments