minor getopt fix