BUG: did not need getopt