Fixing optparse bug