minor enhancement to the argument parsing