small getopt fix