Fix for getopt parser